package com.zhangxu.microservice.system.web.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 创建员工角色关系请求
 */
@Data
@Schema(description = "创建员工角色关系请求")
public class CreateEmployeeRoleReq {

    /**
     * 员工 ID
     */
    @NotNull(message = "员工ID不能为空")
    @Schema(description = "员工ID", example = "1")
    private Long employeeId;

    /**
     * 角色 ID
     */
    @NotNull(message = "角色ID不能为空")
    @Schema(description = "角色ID", example = "1")
    private Long roleId;
}